package fr.tomlabs.flex.decorator
{
	import mx.controls.Image;
	
	public class XmasTree extends AbstractXmasTree
	{
		[Embed(source="tomlabsXmasTree.png")]
        [Bindable]
		public var tree: Class;
		
		/**
		 * XmasTree Constructor
		 */		
		public function XmasTree()
		{
			super();
			this.width = 228;
			this.height = 400;
		}
		
		override protected function createChildren(): void {
			super.createChildren();
			var img: Image = new Image();
			img.source = tree;
			addChild(img);
		}
		
	}
}